﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.Shell;
using System.Drawing;
using Aoxuelf.MDSTool.Model;

namespace Aoxuelf.MDSTool.OptionPages
{
    public class GeneralPage : DialogPage, IUserInfo
    {
        private GeneralControl control;

        protected override System.Windows.Forms.IWin32Window Window
        {
            get
            {
                this.control = new GeneralControl();
                this.control.Location = new Point(0, 0);
                this.control.OptionPage = this;
                return this.control;
            }
        }

        #region IUserInfo 成员

        public string LoginName
        {
            get;
            set;
        }

        public string UserName
        {
            get;
            set;
        }

        public string Email
        {
            get;
            set;
        }

        public string EmailPwd
        {
            get;
            set;
        }

        public string SVNAccount
        {
            get;
            set;
        }

        public string SVNPwd
        {
            get;
            set;
        }

        public DateTime LastUpdatedDate
        {
            get;
            set;
        }

        #endregion
    }
}
